#pragma once
#include "Socket.h"
#include <iostream>
#include <string>
#include "common.h"
using namespace std;

class getHtml
{
public:
    getHtml(void);
    ~getHtml(void);
    
    void setUrl(UrlPath * _url){m_UrlPath = _url;}
    string Interface();

	void testPage();
    bool doWork();
    
    string putPage();
private:
    void getPage();
private:
    UrlPath * m_UrlPath;
    char * m_sPageHtml;
};
